package com.baobao.service;

import com.baobao.domain.Parent;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Parent entities
 * 
 */
public interface ParentService {

	/**
	 * Load an existing Parent entity
	 * 
	 */
	public Set<Parent> loadParents();

	/**
	 * Return a count of all Parent entity
	 * 
	 */
	public Integer countParents();

	/**
	 * Return all Parent entity
	 * 
	 */
	public List<Parent> findAllParents(Integer startResult, Integer maxRows);

	/**
	 */
	public Parent findParentByPrimaryKey(String phone);

	
	public Set<Parent> findParentByBbid(String bbId);
	
	/**
	 * Save an existing Parent entity
	 * 
	 */
	public void saveParent(Parent parent);

	/**
	 * Delete an existing Parent entity
	 * 
	 */
	public void deleteParent(Parent parent_1);
}